﻿<?xml version="1.0" encoding="utf-8" ?>
<helpItems xmlns="http://msh" schema="maml">
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <command:details>
      <command:name>Add-RegisteredServer</command:name>
      <command:verb>Add</command:verb>
      <command:noun>RegisteredServer</command:noun>
      <maml:description>
        <maml:para>Adds a Team Foundation Server to the list of registered servers in Visual Studio Team System.</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para>Add-RegisteredServer provides an easy way to add Team Foundation Servers to the list of registered servers in Visual Studio Team System.</maml:para>
      <maml:para />
      <maml:para>The list of registered servers is used when selecting a Team Foundation Server from the Team Explorer and also allows servers to be refered to by name rather than URL from the command-line.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Add-RegisteredServer</maml:name>
        <command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
          <maml:name>Url</maml:name>
          <maml:description>
            <maml:para>Specifies the URL of the Team Foundation Server.</maml:para>
          </maml:description>
          <command:parameterValue required="true">String</command:parameterValue>
        </command:parameter>
        <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2">
          <maml:name>Name</maml:name>
          <maml:description>
            <maml:para>Specifies the friendly name of the Team Foundation Server.</maml:para>
          </maml:description>
          <command:parameterValue required="true">String</command:parameterValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
        <maml:name>Url</maml:name>
        <maml:description>
          <maml:para>Specifies the URL of the Team Foundation Server.</maml:para>
        </maml:description>
        <command:parameterValue required="true">String</command:parameterValue>
        <dev:type>
          <maml:name>String</maml:name>
        </dev:type>
      </command:parameter>
      <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2">
        <maml:name>Name</maml:name>
        <maml:description>
          <maml:para>Specifies the friendly name of the Team Foundation Server.</maml:para>
        </maml:description>
        <command:parameterValue required="true">String</command:parameterValue>
        <dev:defaultValue>Host name derived from the URL.</dev:defaultValue>
        <dev:type>
          <maml:name>String</maml:name>
        </dev:type>
      </command:parameter>
    </command:parameters>
    <command:examples>
      <command:example>
        <maml:title>----------  EXAMPLE 1  ----------</maml:title>
        <maml:Introduction>
          <maml:paragraph>C:PS&gt;</maml:paragraph>
        </maml:Introduction>
        <dev:code>Add-RegisteredServer -Url http://TFSRTM08:8080/</dev:code>
        <dev:remarks>
          <maml:para>Adds a server with the URL http://TFSRTM:8080/ to the list of registered servers using the host name TFSRTM08 as the friendly name.</maml:para>
          <maml:para />
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>----------  EXAMPLE 2  ----------</maml:title>
        <maml:Introduction>
          <maml:paragraph>C:PS&gt;</maml:paragraph>
        </maml:Introduction>
        <dev:code>Add-RegisteredServer -Url http://TFSRTM08:8080/ -Name RTM08</dev:code>
        <dev:remarks>
          <maml:para>Adds a server with the URL http://TFSRTM:8080/ to the list of registered servers using the RTM08 as the friendly name.</maml:para>
          <maml:para />
        </dev:remarks>
      </command:example>
    </command:examples>
    <maml:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>Get-RegisteredServer</maml:linkText>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Remove-RegisteredServer</maml:linkText>
      </maml:navigationLink>
    </maml:relatedLinks>
  </command:command>
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <command:details>
      <command:name>Get-RegisteredServer</command:name>
      <command:verb>Get</command:verb>
      <command:noun>RegisteredServer</command:noun>
      <maml:description>
        <maml:para>Gets a list of registered Team Foundation Servers.</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para>Get-RegisteredServer provides an easy way to get the registered Team Foundation Servers.</maml:para>
      <maml:para />
      <maml:para>The list of registered servers is used when selecting a Team Foundation Server from the Team Explorer and also allows servers to be refered to by name rather than URL from the command-line.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Get-RegisteredServer</maml:name>
      </command:syntaxItem>
    </command:syntax>
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <maml:name>Microsoft.TeamFoundation.Client.TeamFoundationServer</maml:name>
          <maml:uri>http://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.client.teamfoundationserver(VS.90).aspx</maml:uri>
          <maml:description />
        </dev:type>
      </command:returnValue>
    </command:returnValues>
    <command:examples>
      <command:example>
        <maml:title>----------  EXAMPLE 1  ----------</maml:title>
        <maml:Introduction>
          <maml:paragraph>C:PS&gt;</maml:paragraph>
        </maml:Introduction>
        <dev:code>Get-RegisteredServer</dev:code>
        <dev:remarks>
          <maml:para>Gets the registered Team Foundation Servers.</maml:para>
          <maml:para />
        </dev:remarks>
      </command:example>
    </command:examples>
    <maml:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>Add-RegisteredServer</maml:linkText>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Remove-RegisteredServer</maml:linkText>
      </maml:navigationLink>
    </maml:relatedLinks>
  </command:command>
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <command:details>
      <command:name>Remove-RegisteredServer</command:name>
      <command:verb>Remove</command:verb>
      <command:noun>RegisteredServer</command:noun>
      <maml:description>
        <maml:para>Removes a Team Foundation Server from the list of registered servers in Visual Studio Team System.</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para>Remove-RegisteredServer provides an easy way to remove Team Foundation Servers from the list of registered servers in Visual Studio Team System.</maml:para>
      <maml:para />
      <maml:para>The list of registered servers is used when selecting a Team Foundation Server from the Team Explorer and also allows servers to be refered to by name rather than URL from the command-line.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Remove-RegisteredServer</maml:name>
        <command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" position="2">
          <maml:name>Name</maml:name>
          <maml:description>
            <maml:para>Specifies the friendly name of the Team Foundation Server.</maml:para>
          </maml:description>
          <command:parameterValue required="true">String</command:parameterValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" position="2">
        <maml:name>Name</maml:name>
        <maml:description>
          <maml:para>Specifies the friendly name of the Team Foundation Server.</maml:para>
        </maml:description>
        <command:parameterValue required="true">String</command:parameterValue>
        <dev:type>
          <maml:name>String</maml:name>
        </dev:type>
      </command:parameter>
    </command:parameters>
    <command:examples>
      <command:example>
        <maml:title>----------  EXAMPLE 1  ----------</maml:title>
        <maml:Introduction>
          <maml:paragraph>C:PS&gt;</maml:paragraph>
        </maml:Introduction>
        <dev:code>Remove-RegisteredServer -Name TFSRTM08</dev:code>
        <dev:remarks>
          <maml:para>Removes a server with the friendly name TFSRTM from the list of registered servers.</maml:para>
          <maml:para />
        </dev:remarks>
      </command:example>
    </command:examples>
    <maml:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>Add-RegisteredServer</maml:linkText>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Get-RegisteredServer</maml:linkText>
      </maml:navigationLink>
    </maml:relatedLinks>
  </command:command>
</helpItems>